/**
 * Copyright (C), 2020, 安徽贝慕信息科技有限公司
 * FileName: ResourceCenterQuery
 * Author:   Allen
 * Date:     2020/8/26 21:32
 * Description: 开放平台资源中心信息入参
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.bim.marvel.openapi.client.query;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 〈开放平台资源中心信息入参〉
 *
 * @author Allen
 * @date 2020/8/26
 * @since 1.0.0
 */
@Data
public class ResourceCenterQuery implements Serializable {

    /**
     * 资源中心主键ID
     */
    @ApiParam(value = "资源中心主键ID", name = "id", example = "10", hidden = true)
    private Long id;

    /**
     * 上级资源编号
     */
    @ApiParam(value = "上级资源编号", name = "parentId", example = "12")
    private Long parentId;

    /**
     * 是否显示
     */
    @ApiParam(value = "是否显示", name = "display", example = "true")
    private Boolean display;

    /**
     * 排序
     */
    @ApiParam(value = "排序", name = "sort", example = "1")
    private Long sort;

    /**
     * 资源名称
     */
    @ApiParam(value = "资源名称", name = "resourceName", example = "资源名称", required = true)
    @NotEmpty
    private String resourceName;

    /**
     * 资源KEY
     */
    @ApiParam(value = "资源KEY", name = "resourceKey", example = "suerMenu")
    private String resourceKey;

    /**
     * 资源路径
     */
    @ApiParam(value = "资源路径", name = "resourcePath", example = "/gateway/api")
    private String resourcePath;

    /**
     * 资源描述信息
     */
    @ApiParam(value = "资源描述信息", name = "description", example = "资源描述信息")
    private String description;
}
